/**
 * Created with IntelliJ IDEA.
 * User: Katerina
 * Date: 14.01.13
 * Time: 0:52
 * To change this template use File | Settings | File Templates.
 */
package ru.gameChangers.homework.businessModels {


import mx.core.UIComponent;

public class Main extends UIComponent {

    public function Main() {
        trace("Hello!");
        var grid:Grid = new Grid(ConfigurationConstants.GRID_SIZE, ConfigurationConstants.GRID_SIZE);
        grid.x = (ConfigurationConstants.APP_WIDTH - ConfigurationConstants.GRID_SIZE) / 2;
        grid.y = (ConfigurationConstants.APP_HEIGHT - ConfigurationConstants.GRID_SIZE - ConfigurationConstants.STATUS_LINE_FULL_HEIGHT) / 2;
        addChild(grid);
    }
}
}
